package com.xxl.job.executor.mybatis.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxl.job.executor.mybatis.entity.JobUser;

import java.util.List;

/**
 * (JobUser)表服务接口
 *
 * @author makejava
 * @since 2020-07-13 15:54:52
 */
public interface JobUserService extends IService<JobUser> {

    /**
     * 批量插入
     *
     * @param jobUsers
     * @return
     */
    int insertBatch(List<JobUser> jobUsers);

    /**
     * 自定义分页查询
     * @param current
     * @param size
     * @return
     */
    List<JobUser> selectByPage(Integer current,Integer size);
}